-
Notifications
You must be signed in to change notification settings - Fork 69
feat(PVO11Y-4761): Add Kanary signal exporter #574
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(PVO11Y-4761): Add Kanary signal exporter #574
Conversation
d3779d6
to
6a403f0
Compare
Depends on #576 |
0afa481
to
27b8e81
Compare
/retest |
e697cd6
to
23ba13a
Compare
d9cfc2f
to
857f5c0
Compare
857f5c0
to
042b9e2
Compare
5af0285
to
bd505e9
Compare
/retest |
4ba0f47
to
50efa28
Compare
@FaisalAl-Rayes I pushed a commit with various changes I made during review. I've set up a mtg tmrow for us to sync and discuss it :) |
92f0ac2
to
252cfaf
Compare
bc02688
to
99a9c2e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
/approve
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
/approve
This commit introduces a new exporter to fetch Kanary signal values from a database and expose them as Prometheus metrics. Includes: - Core exporter logic for PostgreSQL - `kanary_up` metric with `instance` - `kanary_error` metric with `instance` and `reason` labels - Use a NewRegistry to control exposed Prometheus metrics. This ensures only explicitly registered application metrics are exported. - README.md Signed-off-by: Faisal Al-Rayes <[email protected]> # Conflicts: # go.mod
99a9c2e
to
613d1ee
Compare
This commit introduces a new exporter to fetch Kanary signal values from a database and expose them as Prometheus metrics.
Includes:
kanary_up
metric withinstance
labels.kanary_error
metric withinstance
andreason
labels